{if !empty($menus)}
    <select name="menu_pai_id" class="form-control chosen-select" id="menu_pai_id">
        <option value="">Selecione</option>
        {foreach from=$menus item=item}
            <option value="{$item->ID}" {if isset($data->menu_pai_id) && $item->ID == $data->menu_pai_id}selected="selected"{/if}>{$item->TITULO}</option>
        {/foreach}
    </select>
{literal}
    <script>
        $(function(){
            $('.chosen-select').chosen({width:"99.5%"});
        });
    </script>
{/literal}
{else}
    <select name="" id="" class="form-control disabled" disabled>
        <option value="">Nenhum menu pai encontrado</option>
    </select>
{/if}